//
//  AYMBaseDetailTableViewController.m
//  关注医生控制器
//
//  Created by xuNick on 16/5/6.
//  Copyright © 2016年 NN. All rights reserved.
//

#import "AYMBaseDetailTableViewController.h"

@interface AYMBaseDetailTableViewController ()

@end

@implementation AYMBaseDetailTableViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    //添加左侧返回按钮
    UIBarButtonItem *backItem = [[UIBarButtonItem alloc]initWithImage:[UIImage imageNamed:@"JianTou"] style:UIBarButtonItemStylePlain target:self action:@selector(backClick)];
    self.navigationItem.leftBarButtonItem = backItem;
}

-(void)backClick{
    [self.navigationController popViewControllerAnimated:YES];
    [SVProgressHUD dismiss];
}

#pragma mark - 跳转控制器方法
-(void)jumpToTargetVC:(UIViewController *)targetVC{
    
    targetVC.view.backgroundColor = [UIColor whiteColor];
    [self.sidePanelController showCenterPanelAnimated:YES];
    
    [(UINavigationController *)self.sidePanelController.centerPanel pushViewController:targetVC animated:YES];
    
}


@end
